﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BenCaoXuan.Infrastructure.Dto.Admin.Appointment
{
    public class Appointment_Dto
    {
        /// <summary>
        /// 预约id
        /// </summary>
        public string? id { get; set; }

       
        /// <summary>
        /// 预约日期
        /// </summary>
        public string? date { get; set; }

        /// <summary>
        /// 预约状态
        /// </summary>
        public int? status { get; set; }

        /// <summary>
        /// 套餐id
        /// </summary>
        public string? packagesId { get; set; }

        /// <summary>
        /// 预约时间
        /// </summary>
        public string? time { get; set; }

        /// <summary>
        /// 预约的所有规格id
        /// </summary>
        public string? allSpecsID { get; set; }

        /// <summary>
        /// 预约价格
        /// </summary>
        public double? price { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string? name { get; set; }


        /// <summary>
        /// 电话号码
        /// </summary>
        public string? phone { get; set; }

        /// <summary>
        /// 预约的产品
        /// </summary>
        public List<Appointment_Services_Dto>? services { get; set; }
    }

    public class Appointment_Services_Dto() {

        /// <summary>
        /// 产品名称
        /// </summary>
        public string? name { get; set; }

        /// <summary>
        /// 产品价格
        /// </summary>
        public double? price { get; set; }
    }

   
}
